@extends("home.shopbase")
@section("content")
<title>订单结算--当当网</title>
<link href="{{asset('shop/jiesuan/checkout.css')}}" rel="stylesheet" type="text/css">
<link href="{{asset('shop/jiesuan/bmap_20101207.css')}}" rel="stylesheet" type="text/css">
<link href="{{asset('shop/jiesuan/order_form_pop.css')}}" id="pop_css" rel="stylesheet" type="text/css">
<link href="{{asset('shop/jiesuan/header_960_150611.css')}}" rel="stylesheet" type="text/css">

<form action="http://search.dangdang.com/search.aspx" id="bootpagetopSearch" name="bootpagetopSearch" method="GET">
</form>
<script type="text/javascript">var nick_num = 0;initHeaderOperate();</script>
<script type="text/javascript" src="{{asset('shop/jiesuan/queryunpaid')}}"></script>
<div id="div_shield" class="popup-wrap-bg hide">
	<iframe src="" frameborder="0" id="shield_frame" height="100%">
	</iframe>
</div>
<div id="divSetPaymentPassword" class="hide" style="left: 50%; top: 50%; position: fixed; margin-left: -205px; margin-top: -79px; _position: absolute; _top: expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight/2)); z-index: 10001;">
	<div class="popup-title">
		<h3>设置支付密码</h3>
		<a id="CloseSetPaymentPasswordWindow" class="btn-popup-close" href="#"></a>
	</div>
	<div class="popup-cont">
		<p>
			请您先设置支付密码，支付密码设置成功后才能成功提交订单。
		</p>
		<p class="btn-bar">
			<a id="setPaymentPasswordCompleted" href="#" class="btn btn-small-orange mr-10">设置完成</a><a href="#" target="_blank" class="btn btn-small-grey">设置遇到问题</a>
		</p>
		<p class="text">
			<a href="#" target="_blank">返回重新设置支付密码</a>
		</p>
	</div>
</div>
<div class="checkout-wrap" id="div_ajax_canvas" style="display: block;">
	<!-- topbar -->
	<div class="topbar">
		<h2>
		<a href="#" title="返回首页">
		<img src="{{asset('shop/jiesuan/dangdang_logo.jpg')}}" alt="当当" title="返回首页"></a></h2>
		<div class="shopcar-nav">
			<strong class="title">填写订单</strong>
			<div class="cont">
				<ul class="step2">
					<li class="first"><span>1、</span><a href="#">我的购物车</a><i></i></li>
					<li class="second"><span>2、</span>填写订单<i></i></li>
					<li class="third"><span>3、</span>完成订单</li>
				</ul>
				<span class="shopcar-nav" style="left: 20px;"></span><span class="shopcar-nav" style="left: 50px;"></span>
			</div>
		</div>
		<div class="btn-bar pt-20">
			<a class="btn btn-normal-grey pull-right" href="{{url('home/shop')}}" title="">返回修改购物车</a>
		</div>
		<div id="div_checkout_tips" class="objhide">
		</div>
	</div>
	<div id="Div1" style="clear: both; margin-top: 10px;">
	</div>
	<h3 class="order-h3"><span>收货相关信息</span></h3>
	<div class="order-box">
		<div class="order-info">
			<div class="cont" id="receivingInfo">
				<div id="div_consignee">
					<a name="consignee_point"></a>
					<!--使用新地址表单开始-->
					<div class="hide" id="div_consignee_add_info">
						<h4>收货地址</h4>
						<div class="address-new">
							<ul>
								<li class="form-address">
								<p class="color-red" id="" identity_num_tip'="" style="display:none;">
									温馨提示：收件人请使用和身份证号对应的真实姓名，否则您购买的商品将无法通过海关检验！
								</p>
								<form id="myaddressform" class="form" action="" method="post">
									<input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
									<div class="info-list" id="div_normal_ship_name">
										<label class="label-w75" for=""><strong>*</strong> 收&nbsp;&nbsp;货&nbsp;&nbsp;人：</label><input name="shouname" class="input-w178" type="text" placeholder="" maxlength="40" id="txt_ship_name" value=""><span class="hide" id="span_ship_name_valid_msg"><span class="icon icon-warn"></span>请填写收货人姓名</span>
									</div>
									<div class="info-list hide" style="z-index:99" id="div_id_ship_name">
										<label class="label-w75" for=""><strong>*</strong> 收&nbsp;&nbsp;货&nbsp;&nbsp;人：</label><input class="input-w178" type="text" placeholder="" id="txt_id_ship_name" value=""><a id="identity_num_tip_button" class="info-id-icon"></a>
										<iframe id="identity_num_tip_iframe" class="info_id_num_iframe hide">
										</iframe>
										<ul id="identity_num_tip_parent" class="info-id-num hide">
										</ul>
										<span class="help-inline help-inline-error hide" id="span_id_ship_name_valid_msg"><span class="icon icon-warn"></span>请填写收货人姓名</span>
									</div>
									<div class="info-list hide" id="div_identity_num">
										<label class="label-w75" for="" style="float:none;"><strong>*</strong> 身份证号：</label><input class="input-w178" type="text" placeholder="" id="txt_identity_num" value=""><a class="ml-5" target="_blank" href="#">为什么要身份验证</a>
										<div class="help-inline help-inline-error hide" id="span_identity_num_valid_msg">
											<span class="icon icon-warn"></span>请正确输入18位有效二代身份证号码
										</div>
									</div>
									<div class="info-list" id="div_consignee">
										
										<label class="label-w75" for=""><strong>*</strong> 收货地区：</label>
										<div class="info-list" style="display:inline" id="div_consignee_addr">
										
										</div>
										<a href="#" target="_blank" id="lnk_distribution">查看可货到付款地区</a>
									</div>
									
									<div class="info-list info-list-z11">
										<label class="label-w75" for=""><strong>*</strong> 详细地址：</label><input name="detailaddr" class="input-w440" type="text" placeholder="" maxlength="120" id="txt_ship_address" value=""><span id="span_ship_address_valid_msg" class="hide"><span class="icon icon-warn"></span>请填写详细的街道地址，要求3个汉字或以上</span>
										<ul id="ul_ship_address_prompt" class="hide input-prompt w440">
										</ul>
									</div>
									<div class="info-list info-list-z10">
										<label class="label-w75" for=""><strong>*</strong> 邮政编码：</label><input name="post" class="input-w178" type="text" placeholder="" maxlength="20" id="txt_ship_zip" value=""><span id="span_ship_zip_valid_msg" class="hide"><span class="icon icon-warn"></span>请正确填写6位阿拉伯数字的邮政编码</span>
										<ul id="ul_zip_prompt" class="hide input-prompt w178">
										</ul>
									</div>
									<div class="info-list">
										<label class="label-w75" for=""><strong>*</strong> 电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：</label><input name="phone" class="input-w178" type="text" placeholder="" id="txt_ship_mb" value="" maxlength="20"><span id="span_ship_mb_valid_msg" class="hide"><span class="icon icon-warn"></span>请填写电话</span>
									</div>
									<div class="">
										<label class="checkbox ml-80"><input name="default_flg" value="" id="chk_address_status" type="checkbox"> 设为默认地址</label>
									</div>
								</form>
								
								<div class="info-list mar_top12">
									<a href="#" id="btn_consignee_save" class="btn btn-large-orange" onclick="Add();"><button>确认收货地址</button></a><span id="span_consignee_save_tips" class="hide"><span class="icon icon-warn"></span>请点击按钮确认</span>
								</div>
								</li>
							</ul>
						</div>
					</div>
					<!-- 使用新地址表单结束 -->
					<script type="text/javascript">
						//添加新的收获地址判定
						//判断收货人
						$("#txt_ship_name").blur(function(){
							var name = $("#txt_ship_name").val();
							if(name == ""){
								$("#span_ship_name_valid_msg").attr("style","display:inline-block;color:red");
							}else{
								$("#span_ship_name_valid_msg").attr("style","display:none");
							}
						});
						//判断省份地址
						$("#selectaddr").blur(function(){
							
							if ($('#selectaddr').is(':visible') && $('#selectaddr').val() == 0)
								{
									check_wrong('spn_country_province_city');
									return false;
								}else{
									
								}alert("dfs");
						});
						
						//判断街道地址
						$("#txt_ship_address").blur(function(){
							if($("#txt_ship_address").val() == ""){
								$("#span_ship_address_valid_msg").attr("style","display:inline-block;color:red");
							}else{
								$("#span_ship_address_valid_msg").attr("style","display:none");
							}
						});
						//判断邮政编码
						$("#txt_ship_zip").blur(function(){
							if($("#txt_ship_zip").val() == ""){
								$("#span_ship_zip_valid_msg").attr("style","display:inline-block;color:red");
							}else{
								$("#span_ship_zip_valid_msg").attr("style","display:none");
							}
						});
						//判断手机号
						$("#txt_ship_mb").blur(function(){
							if($("#txt_ship_mb").val() == ""){
								$("#span_ship_mb_valid_msg").attr("style","display:inline-block;color:red;");
							}else{
								$("#span_ship_mb_valid_msg").attr("style","display:none");
							}
						});

				</script>
				<script type="text/javascript">
					//设置默认地址
					function set_default(id)
					{
						$.ajax({
							type: 'GET',
							url:"{{url('/home/address/defaultaddr/')}}/"+id,
							data: {id:id},
							async: false,
							success: function(flg) {
								if (flg == "Y"){
									$("#div_addrs_"+id).css("background-color","#F4FEFF");
									$("#div_addrs_"+id).nextAll().css("background-color","#FFFFFF");
									$("#div_addrs_"+id).prevAll().css("background-color","#FFFFFF");
								}
								else
									alert("设置默认地址薄失败，请重试！");
							},
							error:function(){
								alert("Sorry~~~failed");
							}
						});
					}
				</script>
					<script type="text/javascript">
						$(function(){
						//获取input节点并添加点击事件
							$(":checkbox").click(function(){
							//获取判断是否选中
								if($(this).attr("checked")){
							   
									$(this).val("1");
								}else{
									$(this).val("0");
								}
							});
						});
						//添加新的收获地址
						function Add(){
							$("#myaddressform").attr("action","{{url('home/address')}}").submit();
						}
					</script>
					<script type="text/javascript">
					  //显示城市级联效果
					  function loadDistrict(upid){
						 $.ajax({
							url:"{{URL('home/district')}}/"+upid,
							type:"get",
							dataType:"json",
							async:true,
							success:function(data){
								if(data.length<1){
									return;
								}
								
								 var select = '<select name="address" class="form-control">';
								select += "<option>-请选择-</option>";
								for(var i=0;i<data.length;i++){
									select += "<option value='"+data[i].id+"'>";
									select += data[i].name;
									select += "</option>";
								}
								select +="</select>";
								//添加
								//$("#myaddrform").append(select);
								$(select).change(function(){
											$(this).nextAll("select").remove();
											var id = $(this).find("option:selected").val();
											loadDistrict(id);
									  }).appendTo("#div_consignee_addr");
							},
							error:function(){
								alert("aaaaa");
							}
						 });
					  }
					  
					  loadDistrict(0);
				</script>
		   
					<div name="helpHint" id="helpHint">
					</div>
					<!-- 删除确认框开始 -->
					<div id="div_delete_address_dialog" class="hide" style="position: relative;z-index: 1001;">
						<div class="popup-wrap popup-delete">
							<div class="popup-cont">
								<p>
									您确定要删除吗？
								</p>
								<p class="btn-bar">
									<a id="btn_confirm" class="btn btn-small-grey mr-10" href="#">确&nbsp;定</a><a id="btn_cancel" class="btn btn-small-grey" href="#">取&nbsp;消</a>
								</p>
							</div>
						</div>
					</div>
					<!-- 删除确认框结束 -->
					<div class="item-address" id="div_myaddress_list">
						<h4><a class="btn" href="#" onclick="showAddr();" id="rd_new_addr">使用新地址</a>收货地址<label for="" class="checkbox" id="order_sms" style="display:none; padding-top:10px;"><input type="checkbox" class="ml-20 mr-5" id="order_sms_checkbox" name="need_send_order_sms" value="0"><span>发货时，给我已绑定的手机号：<span class="mr-10" id="register_mb_span"></span>发送短信</span></label></h4>
						<div class="addr_list all clearfix" id="div_myaddress" style="height: auto;">
							@foreach($address as $addr)
							<div class="addr" id="div{{$addr->id}}" addrindex="0" addrid="139686166">
								<h1>{{$addr->pName}}<span class="ml-10">（收）</span></h1>
								<p>
									<span class="mr-3">{{$addr->country}}</span><span class="mr-3">{{$addr->province}}{{$addr->city}}</span><span class="mr-3">{{$addr->area}}</span><span class="mr-3"></span><span class="mr-3">{{$addr->street}}</span><span>{{$addr->phone}}</span>
								</p>
								<p id="identity_num_0" class="add_id">
								</p>
								<a href="#" class="hide" id="edit_0">编辑</a>
								<a href="#" onclick="del({{$addr->id}},this);"  class="hide" id="{{$addr->id}}">删除</a>
								<a href="#" class="hide" id="default_0">设为默认地址</a>
								<em class="addr_mo" id="default_address_em">@if($addr->status == 1)默认地址@endif</em>
							</div>
							@endforeach
						</div>
						<p>
							<a class="ml-5" href="#" id="lnk_more_address" style="display: none;">收起其他地址</a>
						</p>
					</div>
					<script type="text/javascript">
						//显示使用新地址
						function showAddr(){
							$("#div_consignee_add_info").attr("class","item-address item-address-newuser");
						}
						
						//删除收货地址
						function del(id,ob){
							var offset = $("#"+id).offset();
							$("#div_delete_address_dialog").attr({class:"",style:"position: relative;z-index: 1001;top:"+(offset.top-180)+"px; left:"+(offset.left-260)+"px;"});
							$("#btn_confirm").click(function(){
								 $.ajax({
										type:"GET",
										url:"{{url('/home/address/del/')}}/"+id,
										async:true,       //是否异步
										data:{id:id}, //请求参数
										dataType:"text",     //响应回来的数据格式
										success:function(res){
											if(res=="Y"){
											  $("#div"+id).remove();
											}else{
												alert("删除失败！");
											}
										},
										error:function(){
											alert("Sorry~~~failed");
										}
										
									});
							
								$("#div_delete_address_dialog").attr("class","hide");
							});
						}
						$("#btn_cancel").click(function(){
							$("#div_delete_address_dialog").attr("class","hide");
						});
					</script>
					<script type="text/javascript">
						//收货地址样式
						$(".addr").click(function(){
							$(".addr").css("background-color","#FFFFFF");
							$(this).css("background-color","#03FCE0");
							$(".current").attr("class","addr");
							$(".operate").attr("class","addr");
							$(this).attr("class","addr current operate");
						});
						
					</script>
				</div>
				<div id="div_mobilecust">
				</div>
				<div class="item-list" id="div_self_pickup">
				</div>
				<!--送货方式开始-->
				<div class="item-list" id="shipmentList">
					<h4 style="">送货方式<a class="ml-15" href="#" id="shipmentCollapse">修改</a></h4>
					<p id="shipmentGroup_1" class="listcon" style="" sortnum="1">
						订单1：
						<span class="mr-10">普通快递送货上门</span><span class="mr-10">时间不限 </span>
					</p>
					<div id="div_shipment_0_0" class="item-list" style="display:none">
						<p class="listcon" id="p_city_ship_type_readonly_0_0">
							订单1：
							<span id="div_ship_type_name_0_0" class="mr-10">普通快递送货上门</span><span id="div_ship_date_0_0" class="mr-10">时间不限</span><span id="div_ship_send_date_0_0" class="mr-10"></span><span id="span_packing_type_name_0_0" class="hide"></span><span id="span_pick_up_name_0_0" class="hide"></span><a id="btn_shipment_edit_0_0" href="#">编辑</a>
						</p>
						<span id="span_city_ship_type_desc_0_0" class="color-orange"></span>
					</div>
				</div>
				<!--送货方式结束-->
				<script type="text/javascript">
					$("#shipmentCollapse").click(function(){
						$("#div_shipment_0_0").attr("style","display:block");
					});
				</script>
				<!--支付方式结束-->
				<div class="item-list" id="paymentList">
					<h4 style="">支付方式<a class="ml-15" href="#" id="paymentCollapse">修改</a></h4>
					<p id="paymentGroup_1" class="listcon" style="">
						订单1：
						<span class="mr-10">网上支付</span>
					</p>
					<div id="div_payment_0_0" class="item-list" style="display:none">
						<p class="listcon">
							订单1：
							<span id="li_pay_id_name_0_0" class="mr-10">网上支付 </span><span id="li_other_pay_email_0_0" class="hide">代付邮箱</span><span id="cust_cash_account_used_0_0" class="hide">使用余额0.00元</span><span id="gift_card_account_used_0_0" class="hide">使用礼品卡0.00元</span><span id="coupon_account_used_0_0" class="hide">使用礼券/优惠码0元</span><span id="point_deduction_amount_0_0" class="hide">使用积分0元</span><span id="area_payment_edit_0_0"><a href="#" id="btn_payment_edit_0_0">编辑</a></span>
						</p>
					</div>
				</div>
				<!--支付方式开始-->
				<div class="item-list" id="invoiceList">
					<h4 style="">发票信息<a class="ml-15" href="#" id="invoiceCollapse">收起</a></h4>
					<p id="invoiceGroup_1" class="listcon" style="display: none;">
						订单1：
						<span class="mr-10">暂不需要发票</span><font id="group_tips" color="#FF2832" style="display:none">您的订单应付金额为0元，不可开发票</font>
					</p>
					<div id="div_invoice_0_0" class="item-list" style="">
						<a name="invoice_point_0_0"></a>
						<div class="item-invoice" id="div_invoice_expand_0_0">
							<div class="item-invoice-title">
								<b>订单1:</b>
							</div>
							<div class="select-invoice">
								<span class="color-orange">增值税电子普通发票是税务局认可的有效收付款凭证，具有售后维权的法律效力，也可作为企业报销的有效凭据。</span>
							</div>
							<div id="p_select_invoice_0_0" class="select-invoice">
								<label id="lab_e_invoice_0_0" class="radio" for="rb_e_invoice_0_0" style="POSITION: relative"><input type="radio" name="invoice_type_0_0" id="rb_e_invoice_0_0">电子发票</label><label id="lab_invoice_0_0" class="radio" for="rb_invoice_0_0"><input type="radio" name="invoice_type_0_0" id="rb_invoice_0_0">普通发票（纸质）</label><label id="lab_VAT_invoice_0_0" class="radio enable-style" for="rb_VAT_invoice_0_0" style="POSITION: relative"><input type="radio" name="invoice_type_0_0" id="rb_VAT_invoice_0_0" disabled="">增值税专用发票<i id="div_not_have_VAT_invoice_mark_0_0" style="display: inline-block;" class="question-mark"></i><i id="div_not_have_VAT_invoice_tips_0_0" style="display:none;" class="invoice-tips">您的订单中含有图书商品，而根据《财税【2013】87号》文件，图书类商品不可开具增值税专用发票。<i class="tips_arrow"></i></i></label>
							</div>
							<div class="invoice-box" id="no_storage_jit_0_0" style="display: none;">
								<div class="ml-15 color-orange">
									您的发票将在订单状态变为“交易成功”后的15个工作日内由客服邮寄给您
								</div>
							</div>
							<div class="invoice-box" id="div_e_invoice_0_0" style="display: block;">
								<div class="ml-15 mt-10">
									<span class="span-w63">发票抬头：</span><label class="radio"><input type="radio" value="0" id="e_invoice_title_person_0_0" name="rb_e_invoice_title_0_0"><span>个人</span></label><label class="radio" id="e_invoice_title_company_label_0_0"><input type="radio" value="1" id="e_invoice_title_company_0_0" name="rb_e_invoice_title_0_0" class="radio"><span>单位</span></label><span id="e_invoice_title_data_0_0"><span class="select-div select-div-w205"><span class="selc-text w205"><input type="text" id="e_invoice_title_0_0" maxlength="50" class="w195"></span></span></span><span id="span_e_title_tips_0_0" class="hide"></span>
								</div>
								<div id="div_e_invoice_content_0_0" class="ml-15 mt-10" style="display: none;">
									<span class="span-w63">发票内容：</span>
									<select id="ddl_e_invoice_content_0_0" class="select-h22" disabled="">
										<option value="请选择">请选择</option>
									</select>
									<span id="span_e_content_tips_0_0" class="hide"></span>
									<p id="p_e_content_tips_0_0" class="hide">
									</p>
								</div>
								<div id="div_e_book_invoice_content_0_0" class="ml-15 mt-10">
									<span class="span-fp">图书发票内容：</span>
									<select id="ddl_e_book_invoice_content_0_0" class="select-h22">
										<option value="请选择">请选择</option>
										<option value="图书">图书</option>
										<option value="资料">资料</option>
										<option value="办公用品">办公用品</option>
										<option value="明细">明细</option>
									</select>
									<span id="span_e_book_content_tips_0_0" class="hide"></span>
									<p id="p_e_book_content_tips_0_0" class="span-fp">
									</p>
								</div>
								<div id="div_e_nonbook_invoice_content_0_0" class="ml-15 mt-10" style="display: none;">
									<span class="span-fp">非图书发票内容：</span>
									<select id="ddl_e_nonbook_invoice_content_0_0" class="select-h22" disabled="">
										<option value="请选择">请选择</option>
									</select>
									<span id="span_e_nonbook_content_tips_0_0" class="hide"></span>
									<p id="p_e_nonbook_content_tips_0_0" class="span-fp">
										数码、手机、家电类商品将默认打印出商品名称和型号
									</p>
								</div>
								<div class="info-list ml-15">
									<label class="span-w63" for=""><strong class="hot">*</strong>手机号：</label><input id="e_invoice_tel_0_0" class="input-w87" type="text" placeholder=""><span id="e_invoice_tel_tips_0_0" class="hide"></span>
								</div>
								<p class="btn-bar">
									<a class="btn btn-large-orange mr-5" href="#" id="a_e_invoice_submit_0_0">确认发票信息</a><a class="btn btn-large-grey" href="#" id="a_e_invoice_close_0_0">暂不需要发票</a><span id="span_e_invoice_tips_0_0" class="hide"></span>
								</p>
							</div>
							<div class="invoice-box hide" id="span_invoice_0_0" style="display: none;">
								<div class="ml-15 mt-10">
									<span class="span-w63">发票抬头：</span><label class="radio"><input type="radio" value="0" id="invoice_title_person_0_0" name="rb_invoice_title_0_0"><span>个人</span></label><label class="radio"><input type="radio" value="1" id="invoice_title_company_0_0" name="rb_invoice_title_0_0" class="radio"><span>单位</span></label><span id="invoice_title_data_0_0"><span class="select-div select-div-w205"><span class="selc-text w205"><input type="text" id="invoice_title_0_0" maxlength="50" class="w195"></span></span></span><span id="span_title_tips_0_0" class="hide"></span>
								</div>
								<div class="ml-15 mt-10">
									<span class="span-w63">发票内容：</span>
									<select id="invoice_content_0_0" class="select-h22">
										<option value="请选择">请选择</option>
										<option value="图书">图书</option>
										<option value="资料">资料</option>
										<option value="办公用品">办公用品</option>
									</select>
									<span id="span_content_tips_0_0" class="hide"></span>
									<div class="invoice-info ml-65">
										<p id="p_content_tips_0_0">
											数码、手机、家电类商品将默认打印出商品名称和型号
										</p>
										<p class="btn-bar">
											<a class="btn btn-large-orange mr-5" href="#" id="invoice_submit_0_0">确认发票信息</a><a class="btn btn-large-grey" href="#" id="a_turn_off_invoice_0_0">暂不需要发票</a><span id="span_invoice_tips_0_0" class="hide"></span>
										</p>
									</div>
								</div>
							</div>
							<div id="div_invoice_explain_0_0" class="invoice-box invoice-box2" style="display: none;">
								<div class="warn-box">
									<p>
										1.购买图书商品，发票内容可开具图书、资料、办公用品；
									</p>
									<p>
										2.使用礼品卡购买的商品不支持开具发票，请您在购买礼品卡时选择发票；
									</p>
									<p>
										3.查看
										<a href="#" target="_blank" style="text-decoration:underline;">发票制度说明</a>了解更多
									</p>
								</div>
							</div>
							<div id="div_VAT_invoice_0_0" class="invoice-box hide" style="display: none;">
								<div class="ml-15 mt-10">
									<span class="span-w63">发票内容：</span>
									<select id="ddl_VAT_invoice_content_0_0" class="select-h22" disabled="">
										<option value="请选择">请选择</option>
									</select>
									<span id="span_VAT_content_tips_0_0" class="hide"></span>
									<div class="invoice-info ml-65">
										<p id="p_VAT_content_tips_0_0">
										</p>
										<p class="btn-bar">
											<a href="#" class="btn btn-large-orange mr-5" id="a_VAT_invoice_submit_0_0">确认发票信息</a><a href="#" class="btn btn-large-grey" id="a_VAT_invoice_close_0_0">暂不需要发票</a><span id="span_VAT_invoice_tips_0_0" class="hide"></span>
										</p>
									</div>
								</div>
							</div>
							<div id="div_VAT_invoice_explain_0_0" class="invoice-box invoice-box2 hide" style="display: none;">
								<div class="warn-box">
									<p>
										如您是首次网上申请开具增值税专用发票，请您填写纳税人识别号等开票信息，并上传加盖公章的营业执照副本、税务登记证副本、一般纳税人资格证书及银行开户许可证扫描件，当当收到您的开票资料后，会尽快审核。我们会在资质信息审核通过，且订单状态变为“交易成功”后的7-15个工作日内，使用快递为您寄出发票（寄出时会短信通知），请您耐心等待；
									</p>
									<p>
										资质上传及审核结果，您可以在 
										<a href="#" target="_blank" style="text-decoration:underline;">我的增值税专用发票信息</a> 页面查询。
									</p>
									<p id="p_VAT_invoice_explain_0_0">
										注意：1、有效增值税专用发票开票资质仅为一个；2、化妆品、箱包皮具、食品、服装类商品暂不支持开增值税专用发票；3、为了不耽误商品使用，优先配送货物，增值税专用发票另行寄送。
									</p>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div id="div_mobileplan" class="item-contact contact-form">
				</div>
			</div>
		</div>
	</div>
	<div id="rpt_order">
		<h3 id="order_title_0_0" class="order-h3"><span>订单<span id="order_sort_number_0_0">1</span></span><small>(<span id="order_sender_description_0_0">当当网配送</span>)</small><a title="" href="#" id="part_order_tips_0_0" class="hide">为什么分订单?</a>
		<div id="part_order_tips_box_0_0" class="popup-wrap popup-normal" style="left:10px;margin-top:-100px; display:none;">
			<div class="popup-title">
				<h3>为什么分订单？</h3>
				<a class="btn-popup-close" href="#" id="part_order_tips_close_0_0"></a>
			</div>
			<div class="popup-cont">
				<p>
					由于您购买的商品是由不同商家配送的，因此需要分订单。
				</p>
			</div>
		</div>
		</h3>
		<div id="div_orderflow_0_0" class="order-box">
			<div class="order-list">
				<div class="cont">
					<div class="cont" id="cart_item_rep_0_0">
						<div class="title">
							<ul>
								<li>
								<div class="col1">
									商品名称
								</div>
								<div class="col-error">
								</div>
								<div class="col-cang">
									所在仓库
								</div>
								<div class="col2">
									当当价
								</div>
								<div class="col3">
									促销价
								</div>
								<div class="col4">
									数量
								</div>
								<div class="col5">
									小计
								</div>
								<div class="col-collect title">
									操作
								</div>
								</li>
							</ul>
						</div>
						<!-- 商品详细信息开始 -->
						<div class="item last ">
							@foreach($shoplist as $v)
							<ul id="order0_0Item0SubItems">
								<li class="">
								<div class="col1">
									<p>
										<span class="restrict_buy">限购</span><span class="" title="{{$v->bookName}}">{{$v->bookName}}</span>
									</p>
									<span class="hide">            不支持礼品包装            <em></em></span>
								</div>
								<div class="col-error">
								</div>
								<div class="col-cang">
									天津出版
								</div>
								<div class="col2">
									<span>
									@if($v->price == $v->marketPrice)
									¥{{$v->price}}
									@else
									¥{{$v->price}}({{round($v->price/$v->marketPrice,2)}}折)
									@endif
									</span>
								</div>
								<div class="col3 ">
									¥{{$v->price}}
								</div>
								<div class="col4">
									{{$v->number}}
								</div>
								<div class="col5">
									¥{{$v->price*$v->number}}
								</div>
								<div class="col-collect">
									<a href="#" onclick="fanghui({{$v->id}},this);" data-click="uncheckCartItem(2169076866_0_24001739_3535278)">放回购物车</a>
								</div>
								</li>
							</ul>
							@endforeach
							<div class="hide" style="padding:0 0 5px 15px;">
								<p style="color:#F40000">
									*本商品使用礼品卡将产生手续费
								</p>
							</div>
						</div>
						<!-- 商品详细信息结束 -->
						<script type="text/javascript">
							//商品的放回
							function fanghui(id,ob){
								if(confirm("确定要放回购物车吗？")){
									$.ajax({
										type:"GET",
										url:"{{url('home/shop/fanghui')}}/"+id,
										async:true,       //是否异步
										data:{id:id}, //请求参数
										dataType:"text",     //响应回来的数据格式
										success:function(res){
											if(res=="Y"){
											  $(ob).parents("li").remove();  
											}else{
												alert("放回购物车失败！");
											}
										},
										error:function(){
											alert("Sorry~~~failed");
										}
										
									});
								}
							 }
									
						</script>
					</div>
					<div class="pricebar clearfix">
					<!-- 礼物开始 -->
						<div id="div_giftpacking">
							<div class="item_giftpacking" id="div_giftpacking">
								<div class="choose">
									<input name="" type="checkbox" value="" id="cb_gift_packing"><label>此订单作为礼品赠送他人</label><span class="ml-10"><a class="hide" id="gift_packing_edit" href="#">修改</a></span><span class="ml-10"><a href="#" class="hide" id="gift_packing_delete">取消</a></span>
								</div>
								<div id="gift_packing_detail" class="hide">
									<div class="giftpacking_choose clearfix" style="z-index:50">
										<div class="giftpacking_line">
											<label class="left_part"><strong>*</strong>礼品是否包装</label><label for="" class="radio_wrap" id="packageproductyeslabel"><a class="simulate_radio" id="packageproductyes"></a><span class="text">是</span></label><label for="" class="radio_wrap" id="packageproductnolabel"><a class="simulate_radio after_click" id="packageproductno"></a><span class="text">否</span></label>
											<div class="packing_pic_wrap" id="preview_pack_image_list" style="z-index:10;">
												<div class="packing_pic" id="pp_little_image_1">
													<img style="width: 26px; height:26px;" src="{{asset('shop/jiesuan/1.jpg')}}" alt="">
													<div class="packing_pic_big hide" style="right: -155px;z-index:100;height:150px;width:150px;background-color:white" id="pp_big_image_1">
														<img id="preview_big_image_1" src="{{asset('shop/jiesuan/11.jpg')}}" alt="">
													</div>
												</div>
												<div class="packing_pic" id="pp_little_image_2">
													<img style="width: 26px; height:26px;" src="{{asset('shop/jiesuan/2.jpg')}}" alt="">
													<div class="packing_pic_big hide" style="right: -155px;z-index:100;height:150px;width:150px;background-color:white" id="pp_big_image_2">
														<img id="preview_big_image_2" src="{{asset('shop/jiesuan/21.jpg')}}" alt="">
													</div>
												</div>
											</div>
											<div id="package_name" class="hide">
												<img id="package_name_image" style="width: 26px; height:26px;" src="" alt=""><span id="package_name_info">&nbsp;&nbsp;¥0.00</span>
											</div>
											<span id="product_package_tips" class="hide">包装订单默认合包发送</span>
										</div>
									</div>
									<div id="illegal_product_operate" class="hide">
										<div id="illegal_product" class="giftpacking_order_popup" style="left: 207px;z-index:40;background-color:white;">
										</div>
									</div>
									<div class="giftpacking_order hide">
										<p class="giftpacking_error hide">
											<i class="giftpacking_hotspot">订单中没有可以包装的商品<span class="triangle"></span>请&nbsp;</i><a href="#">放回购物车</a>
										</p>
										<div class="giftpacking_order_popup" style="left:195px;_left:150px;">
											艾格ES春季彩条落肩针织衫13031700699_彩色,155/34/XSAlexis Leroy里珞 欧美新款流苏装饰女式浅口平底单鞋
										</div>
									</div>
									<ul class="giftpacking_choose_pic clearfix hide" id="big_image_list">
										<li id="big_image_1" value="包装-红色"><img src="{{asset('shop/jiesuan/11.jpg')}}" alt=""><span>¥8.00/单</span></li>
										<li id="big_image_2" value="包装-原色"><img src="{{asset('shop/jiesuan/21.jpg')}}" alt=""><span>¥8.00/单</span></li>
									</ul>
									<div class="giftpacking_line" style="z-index:9;">
										<label class="left_part"><strong>*</strong>是否需要贺卡</label><label for="" class="radio_wrap" id="greetingcardyeslabel"><a class="simulate_radio" id="greetingcardyes"></a><span class="text">是</span></label><label for="" class="radio_wrap" id="greetingcardnolabel"><a class="simulate_radio after_click" id="greetingcardno"></a><span class="text">否</span></label>
										<div class="giftpacking_price" style="z-index:5;" id="card_image_preview">
											<img style="height: 26px; width:26px;" src="{{asset('shop/jiesuan/3.jpg')}}" alt=""><span id="card_price_span" class="hide">&nbsp;&nbsp;¥1.00</span>
										</div>
										<div id="card_image_big" class="packing_pic_big hide" style="left: 322px; width: 152px; height: 152px;">
											<img src="{{asset('shop/jiesuan/31.jpg')}}" alt="">
										</div>
									</div>
									<div class="hide" id="greeting_card_main">
										<input type="text" value="" class="giftpacking_letter_title" id="card_nick_name" tabindex="401" maxlength="10"><input type="text" maxlength="10" value="" class="giftpacking_letter_end" id="card_sender_name" tabindex="403"><textarea id="card_main_body" tabindex="402">输入你想说的话...</textarea>
										<p class="giftpacking_letter_tips">
											还可以输入
											<span id="card_number">120</span>个字符
										</p>
									</div>
									<div class="giftpacking_line" style="z-index:4;">
										<label class="left_part"><strong>*</strong>清单是否显示价格</label><label for="" class="radio_wrap" id="printpriceyeslabel"><a class="simulate_radio" id="printpriceyes"></a><span class="text">是</span></label><label for="" class="radio_wrap" id="printpricenolabel"><a class="simulate_radio after_click" id="printpriceno"></a><span class="text">否</span></label>
										<div class="packing_pic" id="print_price_preview">
											<img src="{{asset('shop/jiesuan/bar_code.jpg')}}" alt="">
										</div>
										<div class="packing_pic_big hide" id="print_price_big" style="left:272px;width:180px;height:180px;top:20px;">
											<img src="{{asset('shop/jiesuan/barcode_big_no.png')}}" alt="">
										</div>
										<p class="giftpacking_error">
											3C商品默认附送发票
										</p>
									</div>
									<div class="giftpacking_line" style="z-index:3;">
										<label class="left_part">短信通知我</label><input type="text" id="txt_gift_sender_phone" class="giftpacking_input" value="" maxlength="11"><span id="illegal_phone_tip" class="hide"><span class="icon icon-warn"></span>手机号码不正确，请重新输入</span>
									</div>
									<p class="giftpacking_btn">
										<a href="#" class="giftpacking_btn_yes" id="gift_packing_submit">确&nbsp;定</a><a href="#" class="giftpacking_btn_no" id="gift_packing_cancel">取&nbsp;消</a><span id="area_giftpackage_save_tips" class="hide"><span class="icon icon-warn"></span><span id="span_area_giftpackage_save_tips"></span></span>
									</p>
								</div>
							</div>
						</div>
						<!-- 礼物结束 -->
						<div class="price-total">
							<span class="mr-10" style="margin-right:70px;display:none;" id="gift_card_charge_0_0"><strong>礼品卡手续费：</strong>¥<span id="gift_card_charge_value_0_0">0.00</span></span><span class="mr-10"><strong>运费：</strong><span id="obj_order_shipping_fee_0_0">¥5.00</span><a href="#" class="" id="shippingfee_piece_tips_0_0" style="visibility: visible;">(想免运费?)</a>
							<div id="order_shipping_fee_tips_0_0" class="popup-wrap popup-normal" style="left:0px; top:-85px;display:none;">
								<div class="popup-title">
									<h3>免运费说明？</h3>
									<a class="btn-popup-close" href="#" id="shipping_fee_close_tips_close_0_0"></a>
								</div>
								<div class="popup-cont">
									<p id="shippingfee_tip_0_0" style="display: block;">
										<span id="pub_free_shippingfee_0_0" style="display: inline;">您需要再买 38 元</span><span id="gm_free_shippingfee_0_0" style="display: none;"></span> 可免运费
									</p>
									<p id="shop_shippingfee_tip_0_0" style="display: none;">
									</p>
								</div>
							</div>
							</span><span class="mr-10" style="display: none;" id="order_overseas_tax_0_0"><strong>税费：</strong><strong class="" id="overseas_tax_0_0">¥0</strong><span class="question_icon" style="display: none;" id="order_assemble_tax_icon_0_0"></span></span><span class="mr-10"><strong>小计总额：</strong><strong class="color-price">¥<span id="obj_order_bargin_total_0_0">21.00</span></strong></span><a class="btn btn-small-grey" href="#" style="color: rgb(51, 51, 51); visibility: visible;" id="btn_shipping_fee_0_0">免运费凑单</a>
						</div>
						<div class="jump_pannel" style="display: none;" id="order_assemble_tax_0_0">
							<div class="tax">
								<span class="tax_name">关税：</span><span class="price" id="tariff_0_0">¥</span>
							</div>
							<div class="tax">
								<span class="tax_name">消费税：</span><span class="price" id="excise_0_0">¥</span>
							</div>
							<div class="tax">
								<span class="tax_name">增值税：</span><span class="price" id="vat_0_0">¥</span>
							</div>
						</div>
					</div>
				</div>
				<div class="cont">
					<div class="item-list virtual" id="user_key_div_0_0" style="display: none;">
					</div>
					<div id="shop_message_0_0" class="item-message" style="display: none;">
						<p id="shop_message_prompt_0_0" class="item-message-prompt hide">
							<span class="help-inline help-inline-error help-inline-large"><span class="icon icon-warn"></span>已超过字数上限，请精简语言</span>
						</p>
						<p>
							<label for="">给商家留言：</label><textarea name="" id="text_shop_message_0_0" cols="48" rows="1" style="overflow-x:hidden"></textarea><span id="shop_message_length_0_0" class="help-inline">0/200</span><span id="placeholder_text_0_0" class="placeholder-text">最多可输入200个字</span>
						</p>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="order-box order-box-special mt-20" id="order_flow_loading" style="display: none;">
		<div class="order-info clearfix">
			<div class="shoppingcart_loading">
				<img width="36" height="36" src="./订单结算--当当网_files/loading.gif">
			</div>
		</div>
	</div>
	<div class="order-box order-box-special order-box-orderSubmit mt-20" id="order_flow_summary" style="display: block;">
		<div class="order-info clearfix">
			<div id="div_coupon" class="col-l pt-20">
				<p id="shop_overseas_nocashpay_tip" class="hide">
					<span class="color-red">海外购商品</span>只允许用礼券和优惠码支付。
				</p>
				<div id="cf_pay_title" class="pay_title">
					<a href="#" class="op" id="expandCash">&nbsp;</a><span id="cashwenan" class="title">余&nbsp;&nbsp;额</span><span id="usedCustCashSummary" style="display:none">您当前使用<b class="color-red mlr-10">¥0.00</b>余额支付订单<a href="#" id="cancelCustCash" class="ml-15">取消使用</a></span>
				</div>
				<p class="pay_detail" style="display: none;">
					账户余额
					<b class="color-red mlr-10">¥0.00</b><span id="custCashBtnArea" style="display: none;">您可以重置使用余额<input class="input-w87 ver-m ml-10" type="text" style="_vertical-align:middle" maxlength="8" id="iptUseCustCash"><a href="#" class="btn btn-small-orange ml-20 mr-10 pos-r-1" id="submitCash">使 用</a></span>
				</p>
				<div id="cf_giftcard" class="pay_title">
					<p style="display:none">
						如果您使用礼品卡余额支付订单剩余金额，需要使用0.00元，其中手续费为0.00元
					</p>
					<a href="#" class="op" id="expandGiftcard">&nbsp;</a><span id="giftCardwenan" class="title">礼品卡</span>
				</div>
				<p class="pay_detail" id="giftCardNotSupport" style="display:none">
					您的订单中
					<span class="used" id="giftCardNotSupportDetail">部分商家</span>不支持使用礼品卡支付<span id="giftCardNotSupportTips" class="remind_info remind_info2" style="display:none"><i class="tips_arrow"></i></span>
				</p>
				<p class="pay_detail" id="giftCardAmountArea" style="display:none">
					您的
					<span class="used" id="categoryGiftCardName">全品类礼品卡</span>余额为<span class="balance" id="allCategoryGiftCardBalance">¥0.00</span>，<span class="used" id="bookGiftCardName">图书礼品卡</span>余额为<span class="balance" id="bookGiftCardBalance">¥0.00</span><span id="bookGiftCardNotUseHint" style="display:none;">，图书礼品卡本订单不可用</span><span id="giftCartNameHint" style="display:none;">全品类礼品卡支持全场通用（除1号店、礼品卡、海外购商品）<i class="tips_arrow"></i></span>
				</p>
				<p class="pay_detail" id="usedGiftcardSummary" style="display:none;">
					您当前使用
					<b class="color-red mlr-10">¥0.00</b>礼品卡支付订单<a href="#" class="ml-15" id="cancelGiftCard">取消使用</a>
				</p>
				<p id="cf_category_giftcard_detail" class="pay_detail" style="display: none;">
					<span id="categoryGiftCardBtnArea">您可以使用全品类礼品卡<input class="input-w87 ver-m ml-10" type="text" style="_vertical-align:middle" maxlength="8" id="iptCategoryUseGiftCard"> 元<a href="#" class="btn btn-small-orange ml-20 mr-10 pos-r-1" id="submitCategoryGiftCard">使 用</a></span>
				</p>
				<p id="cf_book_giftcard_detail" class="pay_detail" style="display: none;">
					<span id="bookGiftCartBtnArea">您可以使用图书礼品卡<input class="input-w87 ver-m ml-10" type="text" style="_vertical-align:middle" maxlength="8" id="iptUseBookGiftCard"> 元<a href="#" class="btn btn-small-orange ml-20 mr-10 pos-r-1" id="submitBookGiftCard">使 用</a></span>
				</p>
				<p id="cf_giftcard_detail" class="pay_detail" style="display: none;">
					<span id="giftCardBtnArea">您可以使用礼品卡<input class="input-w87 ver-m ml-10" type="text" style="_vertical-align:middle" maxlength="8" id="iptUseGiftCard"> 元<a href="#" class="btn btn-small-orange ml-20 mr-10 pos-r-1" id="submitGiftCard">使 用</a></span>
				</p>
				<div class="pay_detail" id="giftCartActiveArea" style="display: none;">
					<a href="#" id="activeNewGiftcard">激活新的礼品卡</a>
					<p class="pt-5 color-orange">
						<br>
						使用礼品卡可能会产生手续费 
						<a href="#" class="ml-5" target="_blank">详细说明</a>
					</p>
				</div>
				<div id="cf_point_pay_title" class="pay_title">
					<a href="#" class="op" id="expandPoint">&nbsp;</a><span id="cf_point_title" class="title">积&nbsp;&nbsp;分</span><span id="usedPointSummary" style="display:none">您当前使用<b class="color-red mlr-10">0</b>积分（<b class="color-red">¥0.00</b>）支付订单<a href="#" class="ml-15" id="cancelPoint">取消使用</a></span>
				</div>
				<p id="cf_point_pay_detail" class="pay_detail" style="display: none;">
					账户积分
					<b class="color-red mlr-10">759</b>可抵扣0.2元  <span id="pointBtnArea">您本次可使用<input class="input-w87 ver-m ml-10" type="text" style="_vertical-align:middle" maxlength="6" id="iptUsePoint"> 元<a href="#" class="btn btn-small-orange ml-20 mr-10 pos-r-1" id="submitPoint">使 用</a><i id="pointRateTip" class="question-mark"><em style="display:none" class="ji-tips">每3000积分可抵1元，最小兑换0.1元，详情见“我的积分”中的说明。<i class="tips_arrow"></i></em></i></span>
				</p>
				<div id="cf_discount_code_title" class="pay_title">
					<a href="#" class="op" id="expandDiscountCode">&nbsp;</a><span class="title">优惠码</span><span id="usedDiscountCodeSummary" style="display:none"><span>您当前使用优惠码总额减</span><b class="color-red mlr-10">¥0.00</b><a href="#" class="ml-15" id="cancelDiscountCode">取消使用</a></span>
				</div>
				<p id="cf_discount_code_detail" class="pay_detail" style="display: none;">
					<input class="input-w178 ver-m" type="text" style="_vertical-align:middle;text-transform: uppercase" maxlength="16" id="iptUseDiscountCode"><a href="#" class="btn btn-small-orange ml-20 mr-10 pos-r-1" id="submitDiscountCode">使用</a>
				</p>
				<div id="cf_coupon_title" class="pay_title">
					<a href="#" class="op" id="expandCoupon">&nbsp;</a><span id="wenan" class="title">礼&nbsp;&nbsp;券<font color="#FF2832">&nbsp;&nbsp;&nbsp;&nbsp;此订单暂无可用的礼券</font></span><span id="usedCouponSummary" style="display:none">您当前使用礼券总额减<b class="color-red mlr-10">¥0.00</b><a href="#" class="ml-15" name="cancelCoupon">取消使用</a></span>
				</div>
				<div id="coupon" style="display: none;">
					<div id="couponc" class="pay_detail">
						<a href="#" target="_blank">查看我的礼券</a><a href="#" class="ml-10" id="showBindCoupon">激活新的礼券</a>
					</div>
				</div>
				<div id="couponReturn" class="hide">
					<h4>返券明细</h4>
					<ul id="couponReturnItems" class="return-ticket">
					</ul>
				</div>
				<div id="submitCouponPopup" class="popup-wrap popup-normal hide" style="display: none;">
					<div class="popup-title">
						<h3>温馨提示</h3>
						<a id="closeSubmitCoupon" class="btn-popup-close" href="#"></a>
					</div>
					<div class="popup-cont">
						<p>
							使用礼券，礼品卡将会失效，同时支付金额将发生变化，您确定使用礼券吗？
						</p>
						<p class="btn-bar">
							<a id="submitCoupon" href="#" class="btn btn-small-grey mr-10">确&nbsp;定</a><a id="cancelSubmitCoupon" href="#" class="btn btn-small-grey">取&nbsp;消</a>
						</p>
					</div>
				</div>
				<div id="bindCouponPopup" class="popup-wrap popup-normal popup-wrap-w258 hide" style="top: 300px; display: none;">
					<div class="popup-title clearfix">
						<h3>                            激活新礼券</h3>
						<a id="closeBindCoupon" class="btn-popup-close" href="#"></a>
					</div>
					<div class="popup-cont" style="height:105px;">
						<p style="margin:5px 0 10px;">
							<label class="label-w40" for="">                                卡号：</label><input id="couponUserName" class="input-w172" type="text"><span id="couponCardError"></span>
						</p>
						<p class="mt-10">
							<label class="label-w40" for="">                                密码：</label><input id="couponPassword" class="input-w172" type="password"><span id="couponPwdError"></span>
						</p>
						<p class="btn-bar btn-bar-left mt-10">
							<a id="bindCoupon" href="#" class="btn btn-small-grey" style="margin-left: 5px;">激&nbsp;活</a><span id="couponBindErrorWrap" class="hide"><span class="icon icon-warn"></span><span id="couponBindError"></span></span>
						</p>
					</div>
				</div>
				<div id="bindGiftcard" style="position: absolute;z-index:10000;display:none">
					<div class="popup-wrap popup-normal popup-wrap-w258" style="left:10px;top:-10px;">
						<div class="popup-title clearfix">
							<h3>激活新礼品卡</h3>
							<a id="closeBindGiftCard" class="btn-popup-close" href="#"></a>
						</div>
						<div class="popup-cont">
							<p>
								<label class="label-w40">卡号：</label><input id="iptGiftCardNum" class="input-w172" type="text" maxlength="20">
							</p>
							<p class="mt-10">
								<label class="label-w40">密码：</label><input id="iptGiftCardPassword" class="input-w172" type="password" maxlength="20">
							</p>
							<p class="btn-bar-left mt-10">
								<label for="" class="label-w40"></label><a id="btnBindGiftCard" href="#" class="btn btn-small-grey" style="margin-left:-3px;*margin-left:0px;margin-left:0px9;">激&nbsp;活</a>
							</p>
						</div>
					</div>
				</div>
			</div>
			<div id="div_summary" class="col-r">
				<div class="price-detail">
					<ul>
						<li id="div_product_total">
						<p>
							<span class="span-w160">商品金额：</span><span>¥21.00</span>
						</p>
						</li>
						<li id="div_deposit_total" class="hide">
						<p>
							<span class="span-w160">定金合计：</span><span>¥0.00</span>
						</p>
						</li>
						<li id="div_final_payment_total" class="hide">
						<p>
							<span class="span-w160">尾款合计：</span><span>¥0.00</span>
						</p>
						</li>
						<li id="total_privilege_code_discount_amount" class="hide">
						<p>
							<span class="span-w160">已优惠：</span><span class="plus-minus">¥0.00</span>
						</p>
						</li>
						<li id="total_gift_package_price" class="hide">
						<p>
							<span class="span-w160">礼品包装(含贺卡)：</span><span class="plus-minus">¥0.00</span>
						</p>
						</li>
						<li id="gift_package_price" class="hide">
						<p>
							<span class="span-w160">礼品包装：</span><span class="plus-minus">¥0.00</span>
						</p>
						</li>
						<li id="greetingcard_price" class="hide">
						<p>
							<span class="span-w160">贺卡费用：</span><span class="plus-minus">¥0.00</span>
						</p>
						</li>
						<li id="total_shipping_fee_real" class="">
						<p>
							<span class="span-w160">运费：</span><span>¥5.00</span><a href="#" id="shipping_fee_detail_link"><i id="shipping_fee_detail_icon" class="icon icon-adress-open"></i></a>
						</p>
						<div id="rep_shipping_fee_real" style="display: none;">
							<p class="p-child ">
								<span class="span-w160">订单1运费：</span><span>¥5.00</span>
							</p>
						</div>
						</li>
						<li id="total_overseas_tax_real" class="hide">
						<p>
							<span class="span-w160"><span id="oversea_icon_free" class="icon_event"><img src="{{asset('shop/jiesuan/icon_free.png')}}"></span>税费：</span><span id="order_flow_overseas_tax">¥0.00</span><a href="#" id="overseas_tax_detail_link"><i id="overseas_tax_detail_icon" class="icon icon-adress-open"></i></a>
						</p>
						<div id="rep_overseas_tax_real" style="display: none;">
						</div>
						</li>
						<li id="total_energy_saving_subsiby_amout" class="hide">
						<p>
							<span class="span-w160">节能补贴：</span><span>-¥0</span>
						</p>
						</li>
						<li id="total_promo_amount_real" class="hide">
						<p>
							<span class="span-w160">促销：</span><span>-¥0.00</span><a href="#" id="promo_detail_link"><i id="promo_detail_icon" class="icon icon-adress-close"></i></a>
						</p>
						<div id="rep_collection_promotion" class="hide">
						</div>
						<div id="rep_order_promotion" style="display:none;">
						</div>
						</li>
						<li id="total_giftcard_real" class="hide">
						<p>
							<span class="span-w160">礼品卡：</span><span>-¥0.00</span><a href="#" id="giftcard_detail_link"><i id="giftcard_detail_icon" class="icon icon-adress-close"></i></a>
						</p>
						<div id="rep_dangdang_money">
						</div>
						</li>
						<li id="total_gift_card_charge" class="hide">
						<p>
							<span class="span-w160">礼品卡手续费：</span><span>¥0.00</span>
						</p>
						</li>
						<li id="total_coupon_real" class="hide">
						<p>
							<span class="span-w160">礼券：</span><span>-¥0.00</span><a href="#" id="coupon_detail_link"><i id="coupon_detail_icon" class="icon icon-adress-close"></i></a>
						</p>
						<p id="coupon_money_real" class="p-child">
							<span class="span-w160">使用礼券：</span><span>-¥0.00</span>
						</p>
						</li>
						<li id="total_discount_code_real" class="hide">
						<p>
							<span class="span-w160">使用优惠码：</span><span>-¥0.00</span>
						</p>
						</li>
						<li id="total_cust_cash_real" class="hide">
						<p>
							<span class="span-w160">余额：</span><span>-¥0.00</span>
						</p>
						</li>
						<li id="total_cust_point_real" class="hide">
						<p>
							<span class="span-w160">积分支付：</span><span>-¥0.00</span>
						</p>
						</li>
						<li>
						<p class="p-total">
							<span class="span-w160">*应付总额(含运费)：</span><span class="price-d f18">¥26.00</span>
						</p>
						</li>
						<li id="div_set_password" style="display: none;">
						<p class="mt-10">
							<span class="span-w160 color-grey">若使用余额或礼品卡，需 </span><a href="#" target="_blank" onclick="showSetPaymentPasswordWindow()">设置支付密码</a>
						</p>
						</li>
						<li id="div_pay_password" style="display: none;">
						<p class="p-input">
							<label for="">支付密码：<input id="input_pay_password" class="input-w90" type="password"></label><a class="ml-5" target="_blank" href="#">忘记密码</a>
						</p>
						</li>
						<li id="div_yzm_word" style="display: none;">
						<p class="p-input">
							<label for="">验证码：<input id="ipt_yzm" class="input-w55" type="text"></label><a class="img ml-5"><img id="sign_img" style="height:22px; width:89px;" alt="" src="./订单结算--当当网_files/show_vcode.php"></a><a class="ml-5" id="btn_change_yzm" style="cursor:pointer">换张图片</a>
						</p>
						</li>
						<li id="div_presale_mobile" class="hide">
						<p class="p-input">
							<label for="">支付尾款时通知号码：<input class="input-w87" type="text" maxlength="11" id="presale_mobile"></label>
						</p>
						</li>
						<li id="div_agree_pay_deposit" class="hide">
						<p class="p-agree p-input">
							<span class="color-grey"><input type="checkbox" value="" id="agree_pay_deposit">同意支付定金，取消订单定金不退</span>
						</p>
						</li>
						<li id="div_ck_protocol" style="display:none;">
						<p class="p-agree">
							<span class="span-w160 color-grey"><input type="checkbox" value="" id="ck_protocol" checked="checked">同意接受</span><a target="_blank" href="#">《当当交易条款》</a>
						</p>
						</li>
						<li>
						<p class="btn-bar" id="order_submit_error_tips_bar" style="display:none">
							<span class="help-inline help-inline-error mr-35"><span class="icon icon-warn"></span><span id="order_submit_error_tips"></span></span>
						</p>
						<p class="btn-bar mt-20">
							<a class="btn btn-super-orange" href="#" id="submit" name="submit"><button>提交订单</button></a>
						</p>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div id="__zhongdianpin" style="display:none">
	</div>
	<div id="search_tuijian_content" style="display:none">
	</div>
	<div id="div_shadow">
	</div>
</div>
<link href="{{asset('shop/jiesuan/footer_140522.css')}}" rel="stylesheet" type="text/css">


<div id="div_order_flow_submit">
	<form id="order_flow_get_submit" method="get">
		<input type="hidden" id="grand_order_id" name="grand_order_id"><input type="hidden" id="pre_submit_count" name="pre_submit_count"><input type="hidden" id="order_type" name="order_type">
	</form>
</div>
<div id="div_shippingfeepiece">
</div>
<div id="div_selfpickup">
</div>
<div class="box_loading" id="window_loading">
	<img src="./订单结算--当当网_files/window_loading.gif" alt="载入状态">
	<p>
            请稍候...
	</p>
</div>
<div id="div_distribution">
</div>
<div id="package_preview_dialog">
</div>
<div id="edit_consignee_dialog">
</div>
<div id="consignee_modify_notice_dialog">
</div>
<div id="degradation_notice_dialog">
</div>
@endsection
